/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const router = {
  path: '/reportCenter',
  component: Layout,
  redirect: 'noredirect',
  meta: { title: '报表中心', icon: 'fas fa-tachometer-alt', noCache: true },
  children: [
    {
      path: 'balanceSheet',
      component: () => import('@/views/reportCenter/balanceSheet'),
      name: 'BalanceSheet',
      meta: { title: '资产负债表', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'incomeExpenseSheet',
      component: () => import('@/views/reportCenter/incomeExpenseSheet'),
      name: 'IncomeExpenseSheet',
      meta: { title: '收入费用表', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'cashFlowSheet',
      component: () => import('@/views/reportCenter/cashFlowSheet'),
      name: 'CashFlowSheet',
      meta: { title: '现金流量表', icon: 'fas fa-tachometer-alt', noCache: true }
    }
  ]
}

export default router
